package com.wego.ioc;

import com.wego.aop.service.PersonService;
import com.wego.ioc.domain.Car;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by yigeyanse on 2016/12/20.
 */
public class Test {

    public static void main(String[] args) {

        ApplicationContext ctx = new ClassPathXmlApplicationContext("/configs/springContext.xml");

        PersonService service = ctx.getBean(PersonService.class);
        service.execute(9);
    }
    
    private <T> void getM(Class<T> mm){
    	
    }
}
